package com.lwj.service;

import com.lwj.entity.Team;
import com.lwj.util.DataRet;

import java.util.List;

/**竞标相关
 * @author linwj
 * @date 2018/5/12 10:00
 */
public interface ProjectTeamService {

    /**
     * 投标项目
     * @param teamId
     * @param projectId
     * @return
     */
    DataRet<String> projectCompete(int teamId,int projectId);

    /**
     * 验证项目的投标状态
     * @param teamId
     * @param projectId
     * @return
     */
    DataRet<String> projectValidate(int teamId,int projectId);

    /**
     * 获取投标队伍信息
     * @param projectId
     * @return
     */
    DataRet<List<Team>> getCompeteTeam(int projectId);

    /**
     * 确定投标队伍
     * @param projectId
     * @param teamId
     * @return
     */
    DataRet<String> ensureTeam(int projectId,int teamId);
}
